home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
modem
/
hqfax51.zip
/
C1SEND.BAT
< prev
next >
Wrap
DOS Batch File
|
1995-03-14
|
2KB
|
48 lines
Echo off
REM *********************************************************************/
REM */
REM SYSTEM : HQ-FAX, Uitilities */
REM COPYRIGHT : (c) 1995 HTF CONSULTING */
REM */
REM *********************************************************************/
REM */
REM BAT file name: C1SEND.bat */
REM DESCRIPTION : This batch file invokes the HQFSEND.exe program */
REM to send a FAX plus an optional cover sheet */
REM This file will pass the CLASS 1 switch to */
REM HQFSEND.exe plus user supplied options */
REM */
REM Invocation: Call C1SEND.bat [X] Filename Phoneno options ... */
REM X is a 1-byte # to indicate Cover(1) Doc(2) or both(3)*/
REM */
REM *********************************************************************/
REM
if %1 == 1 goto Covrsolo
if %1 == 2 goto Docsolo
if %1 == 3 goto CovrwDoc
REM %1 isn't 1,2, or 3 - must be a file name
CLS
Echo Sending Document %1 w/out cover letter to %2
HQFSEND.exe /FC1 /PN%2 %3 %4 %5 %6 %7 %8 %9 %1.APF
goto quit
:Covrsolo
CLS
Echo Sending Cover letter solo to %3
HQFSEND.exe /FC1 /PN%3 %4 %5 %6 %7 %8 %9 Covrletr.APF
goto quit
:Docsolo
CLS
Echo Sending Document %2 w/out cover letter to %3
HQFSEND.exe /FC1 /PN%3 %4 %5 %6 %7 %8 %9 %2.APF
goto quit
:CovrwDoc
CLS
Echo Sending Document "%2" with cover letter to %3
HQFSEND.exe /CVcovrletr.apf /FC1 /PN%3 %4 %5 %6 %7 %8 %9 %2.APF
:quit